package com.lancer.backlog.common.bean;

/**
 * @author jq
 * @email 3601704681@qq.com
 * @date Created in  2020/8/20  20:07
 * @description TODO
 */
public class ResultBean {
    /**
     * 状态码
     */
    private int status;
    /**
     * 返回数据
     */
    private Object data;
    /**
     * 返回消息
     */
    private String msg;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public ResultBean(){
       status=StatusBean.SUCCESS.getCode();
       msg=StatusBean.SUCCESS.getMsg();
    }
    public ResultBean(int status,String msg){
        this.status=status;
        this.msg=msg;
    }

}
